package www.sharetime.weshare.response;

import java.util.List;

/**
 * File Description  :
 *
 * @author : zhanggeng
 * @email : zhanggengdyx@gmail.com
 * @date : 2017/9/24 09:24
 * @version     : v1.0
 * **************修订历史*************
 */
public class CitySearchResponse {

    /**
     * code : 1
     * message : null
     * data : [{"id":1,"pId":10000,"shortname":"北京","name":"北京","mergerName":"中国,北京","level":1,"pinyin":"beijing","lng":"116.405285","lat":"39.904989","sortOrder":100,"deleteStatus":0},{"id":801,"pId":10000,"shortname":"上海","name":"上海","mergerName":"中国,上海","level":1,"pinyin":"shanghai","lng":"121.472644","lat":"31.231706","sortOrder":101,"deleteStatus":0},{"id":3716,"pId":10000,"shortname":"香港","name":"香港特别行政区","mergerName":"中国,香港特别行政区","level":1,"pinyin":"hongkong","lng":"114.173355","lat":"22.320048","sortOrder":102,"deleteStatus":0},{"id":3738,"pId":10000,"shortname":"澳门","name":"澳门特别行政区","mergerName":"中国,澳门特别行政区","level":1,"pinyin":"macau","lng":"113.54909","lat":"22.198951","sortOrder":103,"deleteStatus":0},{"id":3325,"pId":10000,"shortname":"台湾","name":"台湾","mergerName":"中国,台湾","level":1,"pinyin":"taiwan","lng":"121.509062","lat":"25.044332","sortOrder":104,"deleteStatus":0},{"id":1965,"pId":1964,"shortname":"广州","name":"广州市","mergerName":"中国,广东省,广州市","level":2,"pinyin":"guangzhou","lng":"113.280637","lat":"23.125178","sortOrder":105,"deleteStatus":0},{"id":1988,"pId":1964,"shortname":"深圳","name":"深圳市","mergerName":"中国,广东省,深圳市","level":2,"pinyin":"shenzhen","lng":"114.085947","lat":"22.547","sortOrder":106,"deleteStatus":0},{"id":2368,"pId":2367,"shortname":"成都","name":"成都市","mergerName":"中国,四川省,成都市","level":2,"pinyin":"chengdu","lng":"104.065735","lat":"30.659462","sortOrder":107,"deleteStatus":0},{"id":934,"pId":933,"shortname":"杭州","name":"杭州市","mergerName":"中国,浙江省,杭州市","level":2,"pinyin":"hangzhou","lng":"120.153576","lat":"30.287459","sortOrder":108,"deleteStatus":0},{"id":821,"pId":820,"shortname":"南京","name":"南京市","mergerName":"中国,江苏省,南京市","level":2,"pinyin":"nanjing","lng":"118.767413","lat":"32.041544","sortOrder":109,"deleteStatus":0},{"id":861,"pId":820,"shortname":"苏州","name":"苏州市","mergerName":"中国,江苏省,苏州市","level":2,"pinyin":"suzhou","lng":"120.619585","lat":"31.299379","sortOrder":110,"deleteStatus":0},{"id":1710,"pId":1709,"shortname":"武汉","name":"武汉市","mergerName":"中国,湖北省,武汉市","level":2,"pinyin":"wuhan","lng":"114.298572","lat":"30.584355","sortOrder":111,"deleteStatus":0},{"id":19,"pId":10000,"shortname":"天津","name":"天津","mergerName":"中国,天津","level":1,"pinyin":"tianjin","lng":"117.190182","lat":"39.125596","sortOrder":112,"deleteStatus":0},{"id":2899,"pId":2898,"shortname":"西安","name":"西安市","mergerName":"中国,陕西省,西安市","level":2,"pinyin":"xi'an","lng":"108.948024","lat":"34.263161","sortOrder":113,"deleteStatus":0},{"id":2323,"pId":10000,"shortname":"重庆","name":"重庆","mergerName":"中国,重庆","level":1,"pinyin":"chongqing","lng":"106.504962","lat":"29.533155","sortOrder":114,"deleteStatus":0},{"id":2297,"pId":2291,"shortname":"三亚","name":"三亚市","mergerName":"中国,海南省,三亚市","level":2,"pinyin":"sanya","lng":"109.508268","lat":"18.247872","sortOrder":115,"deleteStatus":0},{"id":1183,"pId":1168,"shortname":"厦门","name":"厦门市","mergerName":"中国,福建省,厦门市","level":2,"pinyin":"xiamen","lng":"118.11022","lat":"24.490474","sortOrder":116,"deleteStatus":0},{"id":481,"pId":466,"shortname":"大连","name":"大连市","mergerName":"中国,辽宁省,大连市","level":2,"pinyin":"dalian","lng":"121.618622","lat":"38.91459","sortOrder":117,"deleteStatus":0},{"id":1387,"pId":1375,"shortname":"青岛","name":"青岛市","mergerName":"中国,山东省,青岛市","level":2,"pinyin":"qingdao","lng":"120.369557","lat":"36.094406","sortOrder":118,"deleteStatus":0},{"id":467,"pId":466,"shortname":"沈阳","name":"沈阳市","mergerName":"中国,辽宁省,沈阳市","level":2,"pinyin":"shenyang","lng":"123.429096","lat":"41.796767","sortOrder":119,"deleteStatus":0}]
     */

    private int code;
    private Object message;
    private List<CityEntity> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<CityEntity> getData() {
        return data;
    }

    public void setData(List<CityEntity> data) {
        this.data = data;
    }

    public static class CityEntity {
        /**
         * id : 1
         * pId : 10000
         * shortname : 北京
         * name : 北京
         * mergerName : 中国,北京
         * level : 1
         * pinyin : beijing
         * lng : 116.405285
         * lat : 39.904989
         * sortOrder : 100
         * deleteStatus : 0
         */

        private int id;
        private int pId;
        private String shortname;
        private String name;
        private String mergerName;
        private int level;
        private String pinyin;
        private String lng;
        private String lat;
        private int sortOrder;
        private int deleteStatus;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPId() {
            return pId;
        }

        public void setPId(int pId) {
            this.pId = pId;
        }

        public String getShortname() {
            return shortname;
        }

        public void setShortname(String shortname) {
            this.shortname = shortname;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMergerName() {
            return mergerName;
        }

        public void setMergerName(String mergerName) {
            this.mergerName = mergerName;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public String getPinyin() {
            return pinyin;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }

        public String getLng() {
            return lng;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public int getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(int sortOrder) {
            this.sortOrder = sortOrder;
        }

        public int getDeleteStatus() {
            return deleteStatus;
        }

        public void setDeleteStatus(int deleteStatus) {
            this.deleteStatus = deleteStatus;
        }
    }
}
